package tech.xs.common.framework.domain.exception;

import tech.xs.common.framework.domain.enums.ApiResultEnum;

public class BusinessException extends BaseException {

    public BusinessException(String msg) {
        super(msg);
    }

    public BusinessException(String msg, boolean isPrint) {
        super(msg, isPrint);
    }

    public BusinessException(Integer code, String msg) {
        super(code, msg);
    }

    public BusinessException(Integer code, String msg, boolean isPrint) {
        super(code, msg, isPrint);
    }

    public BusinessException(ApiResultEnum resultEnum) {
        super(resultEnum);
    }

    public BusinessException(ApiResultEnum resultEnum, boolean isPrint) {
        super(resultEnum, isPrint);
    }

    public BusinessException(String msg, Throwable cause) {
        super(msg);
    }

    public BusinessException(Integer code, String msg, Throwable cause) {
        super(code, msg);
    }

    public BusinessException(ApiResultEnum resultEnum, Throwable cause) {
        super(resultEnum);
    }

}
